import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'

const routes:Array<RouteRecordRaw> = [
    {
        path:"/",
        redirect: '/home'
    },
    {
        path:"/home",
        component: ()=>import('@/pages/home/home.vue')
    },
    {
        path:"/test",
        component: ()=>import('@/pages/test/test.vue')
    },
    {
        path:"/pinia",
        component: ()=>import('@/pages/pinia/pinia.vue')
    }
]
const router = createRouter({
    history: createWebHashHistory(),
    routes: routes
})
export default router
